package com.bh.shipment.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.shipment.domain.JcShipment;
import com.bh.shipment.vo.JcShipmentSysVo;
import com.bh.shipment.vo.JcShipmentVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 运单管理Mapper接口
 *
 * @author slx
 * @date 2023-04-22
 */
@Mapper
public interface JcShipmentMapper extends RootMapper<JcShipment> {

    /**
     * 查询运单管理列表
     *
     * @param jcShipment 运单管理
     * @return 运单管理集合
     */
    public List<JcShipment> selectJcShipmentSysList(JcShipmentSysVo jcShipment);

    /**
     * 查询运单管理列表
     *
     * @param ledId
     * @return 运单管理集合
     */
    public List<JcShipment> selectJcShipmentListByLedId(Long ledId);

    /**
     * 查询运单管理列表
     *
     * @param jcShipment 运单管理
     * @return 运单管理集合
     */
    public List<JcShipmentVO> selectJcShipmentVOList(JcShipmentSysVo jcShipment);

    /**
     *
     *
     * @param jcShipment 运单管理
     * @return 运单管理集合
     */
    public List<JcShipment> selectTrackShipmentList(JcShipmentSysVo jcShipment);


    /**
     * 查询运单管理列表
     *
     * @param jcShipment 运单管理
     * @return 运单管理集合
     */
    public List<JcShipment> selectDriverJcShipmentList(JcShipmentSysVo jcShipment);

    /**
     * 获取 到站记录
     * @param jcShipment
     * @return
     */
    public List<JcShipment> getDZShipmentInfo(JcShipmentSysVo jcShipment);

    /**
     * 获取 到站记录
     * @param jcShipment
     * @return
     */
    public List<JcShipment> getDZShipmentList(JcShipmentSysVo jcShipment);

    /**
     * 专门为别的机构查看到站车辆
     *
     * @param sysVo
     * @return 运单管理集合
     */
    public List<JcShipment> getRVShipmentList(JcShipmentSysVo sysVo);

    /**
     * 查询运单管理列表
     *
     * @param code 运单管理
     * @return 运单管理集合
     */
    public JcShipment selectJcShipmentByCode(String code);



    public int arriveJcShipmentList(JcShipment jcShipment);
}
